Dennis Borree wrote:
>
> Is there an easier way to read the gray levels of the pixels in a gray level
> bit mapped image other than using the eyedropper in in an imaging software
> program? I am trying to use the gray level data to manipulate my images in
> POV.
> Is there a reader that will give me the levels or change them to another
> format that I can manipulate?
I'm not sure what you want to do, but you can find out the color of a
pigment (including image_maps) in POV-Ray using the eval_pigment() macro
from functions.inc. If you want to write image data from inside a
POV-Script you can use an ASCII based file format like PGM/PBM and the
#write function.
If this is not what you meant please clarify your question.
Christoph
--
POV-Ray tutorials, IsoWood include,
TransSkin and more: http://www.tu-bs.de/~y0013390/
Last updated 05 May. 2002 _____./\/^>_*_<^\/\.______
Post a reply to this message
|